<%--
  Created by IntelliJ IDEA.
  User: 柒叁
  Date: 2023/7/13
  Time: 16:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>支付</title>
    <link rel="stylesheet" href="layui-v2.8.4/layui/css/layui.css">
</head>
<body>
<div class="zhiFu" style="display: flex; justify-content: center; align-items: center; height: 100vh;">
<form action="pay" method="post">
<%--    订单号：<input type="text" name="dingdannumber" value=<%=100000+random.nextInt(900000)%> readonly="true" lay-verify="required" placeholder="订单号" autocomplete="off" class="layui-input" lay-affix="clear" required>--%>
<%--    <br/>--%>

    学号：<input type="text" name="user" lay-verify="required" placeholder="学号" autocomplete="off" class="layui-input" lay-affix="clear" required>
    <br/>
<%--    凭据：<input type="text" name="address" value="114514" readonly="true" lay-verify="required" placeholder="凭据" autocomplete="off" class="layui-input" lay-affix="clear" required>--%>
<%--    <br/>--%>
    <br/>
    付款金额：<input type="text" name="dingdanjine" value=<%=request.getParameter("dingdanjine")%> readonly="true" lay-verify="required" placeholder="付款金额" autocomplete="off" class="layui-input" lay-affix="clear" required>
    <br/>    课程编号：<input type="text" name="courseId" value=<%=request.getParameter("courseId")%> readonly="true" lay-verify="required" placeholder="付款金额" autocomplete="off" class="layui-input" lay-affix="clear" required>

<%--    订单号：<input type="text" name="dingdannumber" required><br/>--%>
<%--    姓名：<input type="text" name="user" required><br/>--%>
<%--    班级：<input type="text" name="address" required><br/>--%>
<%--    付款金额：<input type="text" name="dingdanjine" required><br/>--%>
    <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="demo-login" type="submit">下单</button>
<%--    <input type="submit" value="下单">--%>
</form>
</div>
<script src="layui-v2.8.4/layui/layui.js"></script>
<link type="text/css" rel="stylesheet" href="layui-v2.8.4/layui/css/layui.css"/>
</body>
</html>
